import {
  Tabbar,
  TabbarItem,
  Swipe,
  SwipeItem,
  NoticeBar,
  Icon,
  List,
  cell,
  Search,
  Tab,
  Tabs,
  picker,
  ActionSheet,
  Button,
  Area,
  Picker,
  Toast,
  DropdownMenu,
  DropdownItem,
  Field,
  Popup,
  Loading,
  overlay,
  form,
  Cascader,
  Uploader,
  DatetimePicker,
  Empty,
  ImagePreview,
  Divider,
  Badge,
  Dialog,
  Grid,
  GridItem,
  NavBar,
  Collapse,
  CollapseItem,
  Notify,
  Checkbox,
  CheckboxGroup

} from 'vant'

const vant = {
  install: function (Vue) {
    Vue.use(Notify)
    Vue.use(Tabbar)
    Vue.use(Collapse)
    Vue.use(CollapseItem)
    Vue.use(NavBar)
    Vue.use(Grid)
    Vue.use(GridItem)
    Vue.use(TabbarItem)
    Vue.use(Swipe)
    Vue.use(SwipeItem)
    Vue.use(NoticeBar)
    Vue.use(Icon)
    Vue.use(List)
    Vue.use(cell)
    Vue.use(Search)
    Vue.use(Tab)
    Vue.use(Tabs)
    Vue.use(picker)
    Vue.use(ActionSheet)
    Vue.use(Button)
    Vue.use(Area)
    Vue.use(Picker)
    Vue.use(Toast)
    Vue.use(DropdownMenu)
    Vue.use(DropdownItem)
    Vue.use(Field)
    Vue.use(Popup)
    Vue.use(Loading)
    Vue.use(overlay)
    Vue.use(form)
    Vue.use(Cascader)
    Vue.use(Uploader)
    Vue.use(DatetimePicker)
    Vue.use(Empty)
    Vue.use(ImagePreview)
    Vue.use(Divider)
    Vue.use(Popup)
    Vue.use(Badge)
    Vue.use(Dialog)
    Vue.use(Checkbox)
    Vue.use(CheckboxGroup)
  }
}

export default vant
